[paket]
tanim   = Tek bir kod satırı yazmadan Robotları / Arduino Programlayın
paketci = Cihan_Alkan
grup    = geliştirme
url     = http://www.mblock.cc/

[gerek]
derleme = cmake kdoctools
calisma = gconf

[kaynak]
1   = http://mblockapp.oss-cn-hongkong.aliyuncs.com/mBlock4.0/mBlock_4.0.4_amd64.deb


[sha256]
#1       = b94d89278ecef2ba2d1147eec23936dd99697293ffa2c216c0a375ba98226a3e

[derle]
betik		= ar x /sources/mBlock_4.0.4_amd64.deb
betik 	=  bsdtar -xf $SRC/data.tar.xz -C "$PKG/"


[pakur]
betik = mkdir -p $PKG/usr/share/applications
betik = mkdir -p $PKG/etc/rc.d/init.d
betik = cp $PKG/opt/makeblock/mblock.desktop $PKG/usr/share/applications/mblock.desktop
betik   = echo "Categories=Development" >> /usr/share/applications/mblock.desktop
betik = mv $PKG//etc/init.d/ideserverplus $PKG/etc/rc.d/init.d/ideserverplus 
betik = rmdir $PKG/etc/init.d
betik = rm $PKG/etc/systemd/system/ideserverplus.service
betik =rmdir $PKG/etc/systemd/system
betik =rmdir $PKG/etc/systemd
service = ideserverplus
